package com.ruoyi.dida.db.manager.strategy;

import java.util.List;

public class Context {
    private Strategy strategy;

    public Context(Strategy strategy){
        this.strategy = strategy;
    }

    public List<?> executeStrategy(String dbName,int nums){
        return strategy.result(dbName,nums);
    }
}
